package oss

import (
	"net/http"

	"github.com/gin-gonic/gin"
	"github.com/maxyang107/jinglan/common"
)

func ProvisionalAuthorization(c *gin.Context) {
	arr, err := common.ProvisionalAuthorization()
	if err != nil {
		common.ResponseToJson(http.StatusOK, common.Fail, err.Error(), c)
	}

	common.ResponseDetailToJson(http.StatusOK, arr, "success", c)

}
